package com.ruoyi.project.module.location.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 货物位置表 location
 * 
 * @author lcx
 * @date 2018-10-08
 */
public class Location extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 货架id */
	private Integer locationId;
	/** 货架名称 */
	private String locationName;
	/** 父亲id */
	private Integer parentId;
	/*父亲名称*/
	private  String parentName;
	/*商品表id*/
	private String productId;
	/** 显示顺序 */
	private Integer orderNum;
	/** 货架类型（M货架 C栅格 F货框） */
	private String locationType;
	/** 货架状态 */
	private String visible;
	/** 货架图标 */
	private String icon;
	/* 打印标签id*/
	private String printId;
	/** 创建人 */
	private String createId;
	/** 创建时间 */
	private String createDate;
	/** 修改人 */
	private String updateId;
	/** 修改时间 */
	private String updateDate;
	/** 公司id */
	private String companyId;
	/** 海外仓id */
	private String overseasStorageID;

	/*ean*/
	private String ean;

	/*商品名称*/
	private String productName;

	/*生成标签的编码*/
	private String reCreateDate;

	private String sku;

	private String sumNum;

	public String getSumNum() {
		return sumNum;
	}

	public void setSumNum(String sumNum) {
		this.sumNum = sumNum;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public String getPrintId() {
		return printId;
	}

	public void setPrintId(String printId) {
		this.printId = printId;
	}

	public String getReCreateDate() {
		return reCreateDate;
	}

	public void setReCreateDate(String reCreateDate) {
		this.reCreateDate = reCreateDate;
	}

	public String getEan() {
		return ean;
	}

	public void setEan(String ean) {
		this.ean = ean;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public void setLocationId(Integer locationId)
	{
		this.locationId = locationId;
	}

	public Integer getLocationId() 
	{
		return locationId;
	}
	public void setLocationName(String locationName) 
	{
		this.locationName = locationName;
	}

	public String getLocationName() 
	{
		return locationName;
	}
	public void setParentId(Integer parentId) 
	{
		this.parentId = parentId;
	}

	public Integer getParentId() 
	{
		return parentId;
	}
	public void setOrderNum(Integer orderNum) 
	{
		this.orderNum = orderNum;
	}

	public Integer getOrderNum() 
	{
		return orderNum;
	}
	public void setLocationType(String locationType) 
	{
		this.locationType = locationType;
	}

	public String getLocationType() 
	{
		return locationType;
	}
	public void setVisible(String visible) 
	{
		this.visible = visible;
	}

	public String getVisible() 
	{
		return visible;
	}
	public void setIcon(String icon) 
	{
		this.icon = icon;
	}

	public String getIcon() 
	{
		return icon;
	}
	public void setCreateId(String createId) 
	{
		this.createId = createId;
	}

	public String getCreateId() 
	{
		return createId;
	}
	public void setCreateDate(String createDate) 
	{
		this.createDate = createDate;
	}

	public String getCreateDate() 
	{
		return createDate;
	}
	public void setUpdateId(String updateId) 
	{
		this.updateId = updateId;
	}

	public String getUpdateId() 
	{
		return updateId;
	}
	public void setUpdateDate(String updateDate) 
	{
		this.updateDate = updateDate;
	}

	public String getUpdateDate() 
	{
		return updateDate;
	}
	public void setCompanyId(String companyId) 
	{
		this.companyId = companyId;
	}

	public String getCompanyId() 
	{
		return companyId;
	}
	public void setOverseasStorageID(String overseasStorageID) 
	{
		this.overseasStorageID = overseasStorageID;
	}

	public String getOverseasStorageID() 
	{
		return overseasStorageID;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("locationId", getLocationId())
            .append("locationName", getLocationName())
            .append("parentId", getParentId())
            .append("orderNum", getOrderNum())
            .append("locationType", getLocationType())
            .append("visible", getVisible())
            .append("icon", getIcon())
            .append("createId", getCreateId())
            .append("createDate", getCreateDate())
            .append("updateId", getUpdateId())
            .append("updateDate", getUpdateDate())
            .append("companyId", getCompanyId())
            .append("overseasStorageID", getOverseasStorageID())
            .toString();
    }
}
